package Java7_Concurrency_Cookbook.thread_executor_framework.scheduled_at_fixed_rate;

import java.util.Date;

/**
 * @author lixiangke
 * @date 2017/11/18
 */
public class Task implements Runnable {
    private String name;

    public Task(String name) {
        this.name = name;
    }

    @Override
    public void run() {
        System.out.printf("%s: Starting at : %s \n", name, new Date());
    }
}
